package com.gxm.base.datatype.map.面试题;

import java.io.Serializable;

class User implements Serializable{
    private String name;
    private int age;
    User(String name,int age){
        this.name = name;
        this.age = age;
    }

    public String getName(){
        return this.name;
    }
    public int getAge(){
        return this.age;
    }
}
